package com.bwie.es.feign;

import com.bwie.common.domain.po.Goods;
import com.bwie.common.domain.vo.GoodsVo;
import com.bwie.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient("bwie-list")
public interface EsFeign {

    @PostMapping("/list/findListAll")
    public Result<List<Goods>> findListAll();


}
